package com.example.mobile2021606176mhq0626;

import java.io.Serializable;

public class
Condition {

    private int code;
    private DataBean data;
    private String msg;
    private RcBean rc;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public RcBean getRc() {
        return rc;
    }

    public void setRc(RcBean rc) {
        this.rc = rc;
    }

public static class DataBean implements Serializable {
    /**
     * city : {"cityId":917,"counname":"中国","ianatimezone":"Asia/Shanghai","name":"佛山市","pname":"广东省","secondaryname":"广东省","timezone":"8"}
     * condition : {"condition":"阴","conditionId":"85","humidity":"67","icon":"2","pressure":"1005","realFeel":"37","sunRise":"2021-06-26 05:44:00","sunSet":"2021-06-26 19:17:00","temp":"33","tips":"今天有雨，很闷热，感觉像在蒸桑拿。","updatetime":"2021-06-26 13:20:08","uvi":"4","vis":"30000","windDegrees":"180","windDir":"南风","windLevel":"3","windSpeed":"3.4"}
     */

    private CityBean city;
    private ConditionBean condition;

    public CityBean getCity() {
        return city;
    }

    public void setCity(CityBean city) {
        this.city = city;
    }

    public ConditionBean getCondition() {
        return condition;
    }

    public void setCondition(ConditionBean condition) {
        this.condition = condition;
    }

    public static class CityBean implements Serializable {
        /**
         * cityId : 917
         * counname : 中国
         * ianatimezone : Asia/Shanghai
         * name : 佛山市
         * pname : 广东省
         * secondaryname : 广东省
         * timezone : 8
         */

//            private int cityId;
        private String counname;
        private String ianatimezone;
        private String name;
        private String pname;
        private String secondaryname;
        private String timezone;

//            public int getCityId() {
//                return cityId;
//            }
//
//            public void setCityId(int cityId) {
//                this.cityId = cityId;
//            }

        public String getCounname() {
            return counname;
        }

        public void setCounname(String counname) {
            this.counname = counname;
        }

        public String getIanatimezone() {
            return ianatimezone;
        }

        public void setIanatimezone(String ianatimezone) {
            this.ianatimezone = ianatimezone;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPname() {
            return pname;
        }

        public void setPname(String pname) {
            this.pname = pname;
        }

        public String getSecondaryname() {
            return secondaryname;
        }

        public void setSecondaryname(String secondaryname) {
            this.secondaryname = secondaryname;
        }

        public String getTimezone() {
            return timezone;
        }

        public void setTimezone(String timezone) {
            this.timezone = timezone;
        }
    }

    public static class ConditionBean implements Serializable {
        /**
         * condition : 阴
         * conditionId : 85
         * humidity : 67
         * icon : 2
         * pressure : 1005
         * realFeel : 37
         * sunRise : 2021-06-26 05:44:00
         * sunSet : 2021-06-26 19:17:00
         * temp : 33
         * tips : 今天有雨，很闷热，感觉像在蒸桑拿。
         * updatetime : 2021-06-26 13:20:08
         * uvi : 4
         * vis : 30000
         * windDegrees : 180
         * windDir : 南风
         * windLevel : 3
         * windSpeed : 3.4
         */

        private String condition;
        private String conditionId;
        private String humidity;
        private String icon;
        private String pressure;
        private String realFeel;
        private String sunRise;
        private String sunSet;
        private String temp;
        private String tips;
        private String updatetime;
        private String uvi;
        private String vis;
        private String windDegrees;
        private String windDir;
        private String windLevel;
        private String windSpeed;

        public String getCondition() {
            return condition;
        }

        public void setCondition(String condition) {
            this.condition = condition;
        }

        public String getConditionId() {
            return conditionId;
        }

        public void setConditionId(String conditionId) {
            this.conditionId = conditionId;
        }

        public String getHumidity() {
            return humidity;
        }

        public void setHumidity(String humidity) {
            this.humidity = humidity;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getPressure() {
            return pressure;
        }

        public void setPressure(String pressure) {
            this.pressure = pressure;
        }

        public String getRealFeel() {
            return realFeel;
        }

        public void setRealFeel(String realFeel) {
            this.realFeel = realFeel;
        }

        public String getSunRise() {
            return sunRise;
        }

        public void setSunRise(String sunRise) {
            this.sunRise = sunRise;
        }

        public String getSunSet() {
            return sunSet;
        }

        public void setSunSet(String sunSet) {
            this.sunSet = sunSet;
        }

        public String getTemp() {
            return temp;
        }

        public void setTemp(String temp) {
            this.temp = temp;
        }

        public String getTips() {
            return tips;
        }

        public void setTips(String tips) {
            this.tips = tips;
        }

        public String getUpdatetime() {
            return updatetime;
        }

        public void setUpdatetime(String updatetime) {
            this.updatetime = updatetime;
        }

        public String getUvi() {
            return uvi;
        }

        public void setUvi(String uvi) {
            this.uvi = uvi;
        }

        public String getVis() {
            return vis;
        }

        public void setVis(String vis) {
            this.vis = vis;
        }

        public String getWindDegrees() {
            return windDegrees;
        }

        public void setWindDegrees(String windDegrees) {
            this.windDegrees = windDegrees;
        }

        public String getWindDir() {
            return windDir;
        }

        public void setWindDir(String windDir) {
            this.windDir = windDir;
        }

        public String getWindLevel() {
            return windLevel;
        }

        public void setWindLevel(String windLevel) {
            this.windLevel = windLevel;
        }

        public String getWindSpeed() {
            return windSpeed;
        }

        public void setWindSpeed(String windSpeed) {
            this.windSpeed = windSpeed;
        }
    }
}

public static class RcBean implements Serializable {
    /**
     * c : 0
     * p : success
     */

    private int c;
    private String p;

    public int getC() {
        return c;
    }

    public void setC(int c) {
        this.c = c;
    }

    public String getP() {
        return p;
    }

    public void setP(String p) {
        this.p = p;
    }
}
}

